package week8;

public class Test {
    public static void main(String[] args) {

        Student s1 = new Student("张三",new Car("MINI",80,"电"));
        s1.show();
        Student s2 = new Student("李四",new Bicycle("山地",30,true));
        s2.show();
    }
}
